<%@page language="java" pageEncoding="utf-8"%>
<%@ page isELIgnored = "false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@include file="/commons/include/html_doctype.html"%>
<html>
<head>
	<link rel="stylesheet" type="text/css" href="style/frame.css" />
	<c:set var="ctx" value="${pageContext.request.contextPath}" />
	<title></title>
	<script type="text/javascript" src="${ctx}/js/jquery/jquery.js"></script>
	<script type="text/javascript">
		$(function()
		{
			//$("#a_myhome").click(function()
			//{
				//var obj = $(parent.document.frames.middleFrame.window.document.all.ifrm_main);
				//alert(window.parent.document.frames['middleFrame'].contentWindow.document);
				//$(obj).attr("src","${ctx}/manage/ch/myHome.htm");
			//});
			showTime();
		});
		function showTime()
		{
		  var date=new Date();
		  var year=date.getYear();
		  var month=date.getMonth()+1;
		  var day=date.getDate()
		  var hours=date.getHours();
		  var mi=date.getMinutes();
		  var se=date.getSeconds();
		  
		  var week=date.getDay();
		  if(week==1) week="星期一";
		  if(week==2) week="星期二";
		  if(week==3) week="星期三";
		  if(week==4) week="星期四";
		  if(week==5) week="星期五";
		  if(week==6) week="星期六";
		  if(week==0) week="星期日";
		  
		  if(hours<=9)
		  hours="0"+hours;
		  if(mi<=9)
		  mi="0"+mi;
		  if(se<=9)
		  se="0"+se;
		  
		  var show="今天是"+year+"年"+month+"月"+day+"日 "+week+" "+"" +((hours >= 12) ? "下午 " : "上午 " )+hours+":"+mi+":"+se;
		  $("#showClock").val(show);
		  setTimeout("showTime()",1000);
		 }
	</script>
</head>
<body onselectstart="return false;" oncontextmenu="return false;" style="background-color:#dbf6ff; ">
<div style=" font-size:12px; line-height: 25px;color:#2e3094; border-top: 1px solid #99bbe8;" >
<div align="right" style="float:left;"><img src="img/home.gif" style="vertical-align:middle;"><a id="a_myhome" href="${ctx}/manage/complex/showIndex.htm" style="text-decoration:none; " target="ifrm_main" style="margin-right:50px;">我的首页</a><img src="${ctx}/manage/img/out1.jpg" style="vertical-align:middle;"><a href="${ctx}/logout.htm" target="_top" style=" padding-right: 5px; text-decoration: none;">
注销</a><span style="margin-left: 30px;">当前系统时间：<input id="showClock" value="" style="font-size: 9pt;color:#2e3094;border:0px none;background-color: #dbf6ff; " size=50 readonly="readonly"/>
</span></div>

  <div align="left" style="float:right; padding-right: 10px;" >&nbsp;&nbsp; <img src="img/mbi_031.gif" style="vertical-align:middle;">当前用户：&nbsp;&nbsp;<b>${sessionScope.loginedUserName}(${sessionScope.loginedUserCode })</b> <a href="${ctx }/manage/sys/user/myInfo.htm" target="ifrm_main">设置个人信息</a></div>
	
</div>
</body>
</html>